package com.yeshine.opendata.api.model;

import com.yeshine.opendata.entity.SysDictionary;

import java.util.Date;

/**
 * Created by taohj on 2014/9/22.
 */
public class DataModel {

    private Integer id;

    //标题
    private String title;
    //简介
    private String description;
    //标签
    private String tags;
    //授权信息
    private String license;

    //存储形式
    private SysDictionary storage;
    //数据url
    private String url;

    //类型 文件格式
    private String fileFormat;
    //是否公开
    private SysDictionary visibility;
    //当前状态
    private SysDictionary status;

    //
    private SysDictionary auditStatus;

    //当前版本
    private String version;

    //唯一标识列
    private String GUID;


    //创建时间
    private Date createTime;

    //数据集
    private DataSetModel dataset;

    //所属组织
    private OrgModel org;


    private Date updateTime;




    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public String getLicense() {
        return license;
    }

    public void setLicense(String license) {
        this.license = license;
    }

    public SysDictionary getStorage() {
        return storage;
    }

    public void setStorage(SysDictionary storage) {
        this.storage = storage;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getFileFormat() {
        return fileFormat;
    }

    public void setFileFormat(String fileFormat) {
        this.fileFormat = fileFormat;
    }

    public SysDictionary getVisibility() {
        return visibility;
    }

    public void setVisibility(SysDictionary visibility) {
        this.visibility = visibility;
    }

    public SysDictionary getStatus() {
        return status;
    }

    public void setStatus(SysDictionary status) {
        this.status = status;
    }

    public SysDictionary getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(SysDictionary auditStatus) {
        this.auditStatus = auditStatus;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getGUID() {
        return GUID;
    }

    public void setGUID(String GUID) {
        this.GUID = GUID;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public DataSetModel getDataset() {
        return dataset;
    }

    public void setDataset(DataSetModel dataset) {
        this.dataset = dataset;
    }

    public OrgModel getOrg() {
        return org;
    }

    public void setOrg(OrgModel org) {
        this.org = org;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
